{:W('Template/top')}
<div class="wrapper clearfix content" style="border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href="">财务管理</a>&gt;提现申请</div>
        <div class="cTitle2">提现申请</div>
        <div class="form-horizontal txAply">
            <div class="form-group">
                <input type="hidden" id="code" value="{$Think.session.applyWithDrawCode}">

                <foreach name="list" item="vo">
                    <table class="table table-bordered" style="width:80%;margin-left: 100px">
                        <tr>
                            <td class="text-center">发票抬头</td>
                            <td class="text-c1">{$vo.invoice_title}</td>
                        </tr>
                        <tr>
                            <td class="text-center">提现账号</td>
                            <td>
                                <span class="bankNameInfo">{$info.bank_name}</span>&nbsp;&nbsp;
                                <span class="bankAccountInfo">{$info.bank_account}</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="text-center">账户总额</td>
                            <td class="text-c5 balance">{$vo['account_balance']|getYuan}</td>
                        </tr>
                        <tr>
                            <td class="text-center">冻结金额</td>
                            <td class="text-c5 balance">{$vo['frozen_amount'] + $vo['order_tour_frozen_amount']|getYuan}</td>
                        </tr>
                        <tr>
                            <td class="text-center">可用余额</td>
                            <td class="text-c5 balance">{$vo['account_balance'] - $vo['frozen_amount'] - $vo['order_tour_frozen_amount']|GetYuan}</td>
                        </tr>
                        <tr>
                            <td class="text-center">提现金额</td>
                            <td><input type="number" class="form-control withdraw{$vo.id}" name="withdraw" value=""/>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" style="line-height: 40px;">
                                <span style="color:red">*温馨提示：</span>您需要给该运营商开具发票，且发票金额应大于等于申请提现的金额。
                                <button type="button" style="margin-left:37px;line-height: 26px;height:40px;" class="btn btn-warning pull-right"
                                        onclick="withdraw({$vo.id}, {$vo.account_balance}, {$vo.operator_id})">申请提现
                                </button>
                            </td>
                        </tr>
                    </table>
                    <p>&nbsp;</p>
                </foreach>

                <div style='border-top:1px dashed #ccc;margin-top:40px;margin-left: 100px;margin-bottom: 40px;width: 80%'></div>

                <table class='table table-bordered' style='width: 80%;margin-left: 100px'>
                    <tr>
                        <td class='text-center'>账户总额:</td>
                        <td class='text-c5'>&yen;{$info.account_balance|GetYuan}</td>
                    </tr>
                    <tr>
                        <td class='text-center'>冻结金额:</td>
                        <td class='text-c5'>&yen;{$amount|GetYuan}</td>
                    </tr>
                </table>
            </div>

        </div>
    </div>
</div>
{:W('Template/bottom')}
</body>
</html>